package Year2021.month10.Day21.Day30homework;

public class Submarine implements Swimming{
    /*
    潜艇
     */

    @Override
    public void show() {
        System.out.println("潜艇可以在水里游动！");
    }

    @Override
    public String swimming() {
        return "游动的潜艇";
    }
}
